/*
 * @Descripttion: 
 * @Version: 
 * @Author: 王传宝
 * @Date: 2023-02-27 11:42:58
 * @LastEditors: 
 * @LastEditTime: 2023-02-27 20:35:57
 */
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'
import 'antd-mobile/bundle/css-vars-patch.css'
import 'normalize.css'
import { HashRouter as Router } from "react-router-dom"
import store, { persist } from './store'
import { Provider } from 'react-redux'
import { PersistGate } from 'redux-persist/integration/react'



ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <Provider store={store}>
    <PersistGate persistor={persist}>
      <Router>
        <App />
      </Router>
    </PersistGate>
  </Provider>
)
